Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 7 - Process Management / Process Management Reference
Functions / Entering and Leaving Interrupt Time


OTLeaveInterrupt

Notifies Open Transport that you are done calling Open Transport functions from an interrupt.

C INTERFACE
void OTLeaveInterrupt(void)
C++ INTERFACES
None. C++ applications use the C interface to this function.

DESCRIPTION
The OTLeaveInterrupt function informs Open Transport that you are no longer calling Open Transport from within an interrupt. You call this function after you call the last Open Transport function you want to call from within the interrupt, but before you return to system task time.

SPECIAL CONSIDERATIONS
Do not make this call without having already called the OTEnterInterrupt function.

On the 68000-family of Macintosh computers, you must be sure that your A5 world is set correctly before making this call (that is, you must set it to the same value it had when you called the InitOpenTransport or the InitOpenTransportUtilities function).

SEE ALSO
To notify Open Transport that you are about to call an Open Transport function from an interrupt, use the OTEnterInterrupt function (page 7-19).

For further discussion, see the section "Entering and Leaving Interrupt Processing," beginning on page 7-6.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996